new Vue({
    el:'#app',
    data: {
        id : "",
        username : "",
        password : "",
        gender : "",
        identity : "",
        tele : "",
        address : "",
        age : "",
        root : "",
        store : "",
        sname : "",
    },
    created(){


        let id = localStorage.getItem("seller_id");
        this.id = id;

        axios({
            method: 'get',
            url: 'http://47.94.138.204:7790/example/selectuser',
            params:{
                id : this.id,
            },
        }).then((res) => {
            let data = res.data;
            this.password = data.password;
            this.username = data.username;
            this.identity = data.identity;
            this.tele = data.tele;
            this.address = data.address;
            this.root = data.root;
            this.gender = data.gender;

        })

        axios({
            method: 'get',
            url: 'http://47.94.138.204:7790/example/selectseller',
            params:{
                id :this.id,
            },
        }).then((res) => {
            let data = res.data;
            this.store = data.store;
            this.sname = data.sname;

        })


    },
    methods:{

    },


})